Correct Quinn, everything works well until device upgraded to iOS 15. And there is no error in simulator, only on the actual device.
Post
Replies
Boosts
Views
Activity
Hi dondontam, I have a working code. Will need to clean it up a bit and hopefully will publish it at https://github.com/bakerframework/baker rather sooner than later, thank you!
Edit: Just would like to add that I used this code here as the base: https://stackoverflow.com/questions/22278407/nsurlsessiondownloadtask-downloads-but-ends-with-error
I'm trying to replace Newsstand's NSURLConnectionDownloadDelegate with NSURLSessionDownloadTask. It's not ideal as it needs careful integration and testing to ensure there are no bugs/issues with it. But for now have working download progress bar and updated (to downloaded) issue's state in the main bookshelf/library.
Yes Quinn, the Newsstand download gives the error, but the NSURLSessionDownloadTask he tried works fine.
I hoped for iOS 15.0.1 but unfortunately it didn't fix the problem. If NSURLSessionDownloadTask works for you then you may use it instead of NSURLConnectionDownloadDelegate. Right? Or does the use of NSURLSessionDownloadTask have any drawbacks? Thanks
We are using Baker Framework app and do small changes to it when required, but I'm not full-time Xcode developer and it's a bit hard for me to replace NSURLConnectionDownloadDelegate with NSURLSession. This is where the download takes place: https://github.com/bakerframework/baker/blob/master/BakerShelf/BKRIssue.m
Hi dondontam,
Could you please explain what do you mean by this, thanks: And it is success to download with own request util.